import Cookies from 'js-cookie'
const lock = {
    state: {
        // isLocked: JSON.parse(sessionStorage.getItem('lockStatus') || 'false'),
        isLocked:false,
    },
    mutations: {
        setLockStatus(state, isLocked) {
            state.isLocked = isLocked;
            // sessionStorage.setItem('lockStatus', JSON.stringify(isLocked));
        }
    }
}
export default lock